<div>
	<ul id="home_top" style="-webkit-overflow-scrolling : auto;overflow-y:hidden;white-space: nowrap;margin:0.2rem 0 0 0;padding:0 0.2rem;margin-top: 1rem;">
		{#foreach $T as f}
		<li class="goods_list" onclick="locationClick({$T.f.id})">
			<img alt="" href="" class="goodsImg" src="{$T.f.image}" height="7.08rem" width="7.08rem">
			{#if $T.f.main_color != null && $T.f.main_lable != null}
			<div style="width: 2.8rem;height: 1.5rem;position: absolute;left:0;top:0;color:white;padding-left: 0.3rem;padding-top: 0.12rem;font-size: 1rem; border-bottom-right-radius: 0.6rem;text-shadow:none;background:{$T.f.main_color}">{$T.f.main_lable}</div>
			{#/if}
			<div style="font-size: 1.1rem;height: auto;color: #333333;margin-top: 0.6rem;">{$T.f.name}</div>
			<span style='font-size:1rem;color:red;'>¥</span><span class='price' style='font-size:1.6rem;'>{$T.f.price}</span>
		</li>
		
		{#/for}
	</ul>
</div>
